// @flow
//
//  Copyright (c) 2019-present, Cruise LLC
//
//  This source code is licensed under the Apache License, Version 2.0,
//  found in the LICENSE file in the root directory of this source tree.
//  You may not use this file except in compliance with the License.

export type EditorSelection = {|
  startColumn: number,
  endColumn?: number,
  startLineNumber: number,
  endLineNumber?: number,
|};

export type Script = {|
  filePath: string,
  code: string,
  readOnly: boolean,
  selection?: EditorSelection,
|};
